﻿/*
 * This software is the confidential and proprietary
 * information of NetBay
 * Such confidential information should not be disclosed
 * NetBay copyright(c) 2010
 */

#region using
#endregion

namespace NetBay.Core.Tools
{
    /// <summary>
    /// 
    /// </summary>
    public static class Eval
    {
        #region Method
        
        private static bool VerifyAllowed(string p_sStr)
        {
            string L_sAllowed = "0123456789+-*/().,";
            for (int i = 0; i < p_sStr.Length; i++)
            {
                if (L_sAllowed.IndexOf(string.Empty + p_sStr[i]) == -1)
                {
                    return false;
                }
            }
            return true;
        }

        #endregion
    }
}
